package com.kf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author RenYuXin
 * 2019/11/28 11:22
 * ApprovalRecord审批记录表
 */
@Data
@TableName("approval_record")
public class ApprovalRecord {
    /**
     * 主键
     */
    @TableId(value = "record_id",type = IdType.AUTO)
    private Integer recordId;
    /**
     * 审批ID(**外键审批表**)
     */
    @TableField(value = "record_examine_id")
    private Integer recordExamineId;
    /**
     * 当前进行的审批步骤ID(**审批步骤id外键**)
     */
    @TableField(value = "record_examine_step_id")
    private Integer recordExamineStepId;
    /**
     * 审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回
     */
    @TableField(value = "record_examine_status")
    private Integer recordExamineStatus;
    /**
     * 创建人
     */
    @TableField(value = "record_create_userid")
    private Integer recordCreateUserid;
    /**
     * 创建时间
     */
    @TableField(value = "record_createtime")
    private String recordCreatetime;
    /**
     * 备注
     */
    @TableField(value = "record_remarks")
    private String recordRemarks;
    /**
     * 预留字段1
     */
    @TableField(value = "record_exit1")
    private String recordExit1;
    /**
     * 预留字段2
     */
    @TableField(value = "record_exit2")
    private Integer recordExit2;
}
